<template>
  <div>
    <div class="go-back" @click="goBack()"><span class="icon icon-font icon-backPage"></span>返回</div>
  </div>
</template>

<script>
export default {
  methods: {
    goBack () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="scss">
.go-back {
  position: absolute;
  left: 0;
  top: -35px;
  color: $energized;
  cursor: pointer;
  > span {
    margin-right: 5px;
  }
}
</style>
